package fr.istic.linkedcv.client;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class PersonneCli implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4901855041742956188L;
	private String nom;
	private String prenom;
	private String email;
	private String login;

	private String password;
	private List<String> listeAmis = new ArrayList<String>();
	private List<String> ListeGroupes = new ArrayList<String>();
	private List<String> listeMessages = new ArrayList<String>();
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public List<String> getListeAmis() {
		return listeAmis;
	}

	public void setListeAmis(List<String> listeAmis) {
		this.listeAmis = listeAmis;
	}
	
	public void addAmi(String nomAmi) {
		this.listeAmis.add(nomAmi);
	}


	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void addMessage(String titre) {
		listeMessages.add(titre);		
	}

	public List<String> getListeMessages() {
		return listeMessages;
	}

	public void setListeMessages(List<String> listeMessages) {
		this.listeMessages = listeMessages;
	}

	public List<String> getListeGroupes() {
		return ListeGroupes;
	}

	public void setListeGroupes(List<String> listeGroupes) {
		ListeGroupes = listeGroupes;
	}
	
	public void addGroupe(String nameGroupe) {
		ListeGroupes.add(nameGroupe);
	}

	

}
